﻿using myfirstmaui.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace myfirstmaui.ViewModels
{
    class MyPageViewModel
    {
        public List<LightItemModel> Items { get; set; }

        public List<LightItemModel> Items2 { get; set; }

        public List<LightItemModel> Items3 { get; set; }

        public MyPageViewModel()
        {
            Items = new List<LightItemModel>();
            Items.Add(new LightItemModel { ItemType = 1, Header = "dotnet_bot.png", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items.Add(new LightItemModel { ItemType = 2, Header = "dotnet_bot.png", IsOpen = true, Value1 = "dotnet_bot.png" });
            Items.Add(new LightItemModel { ItemType = 3, Header = "dotnet_bot.png", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items.Add(new LightItemModel { ItemType = 4, Header = "dotnet_bot.png", IsOpen = false, Value1 = "dotnet_bot.png", Value2 = 1 });

            Items2 = new List<LightItemModel>();
            Items2.Add(new LightItemModel { ItemType = 1, Header = "11111", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 2, Header = "22222", IsOpen = true, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 3, Header = "333333", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 4, Header = "4444444", IsOpen = false, Value1 = "dotnet_bot.png", Value2 = 1 });
            Items2.Add(new LightItemModel { ItemType = 1, Header = "11111", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 2, Header = "22222", IsOpen = true, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 3, Header = "333333", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 4, Header = "4444444", IsOpen = false, Value1 = "dotnet_bot.png", Value2 = 1 });
            Items2.Add(new LightItemModel { ItemType = 3, Header = "333333", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items2.Add(new LightItemModel { ItemType = 4, Header = "4444444", IsOpen = false, Value1 = "dotnet_bot.png", Value2 = 1 });

            Items3 = new List<LightItemModel>();
            Items3.Add(new LightItemModel { ItemType = 1, Header = "head1", IsOpen = false, Value1 = "dotnet_bot.png" });
            Items3.Add(new LightItemModel { ItemType = 2, Header = "head2", IsOpen = true, Value1 = "dotnet_bot.png" });
            Items3.Add(new LightItemModel { ItemType = 3, Header = "head3", IsOpen = false, Value1 = "dotnet_bot.png" });

        }

    }
}
